
.dux-padding {
  padding: 20px;
}


.dux-tab {
  position: relative;
  background-color: #f5f5f5;
  border-right: 1px solid #ddd;
  border-left: 1px solid #ddd;
  &:before {
    box-sizing: border-box;
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
  }
  li {
    position: relative;
    z-index: 1;
    float: left;
    width: 170px;
    border: 1px solid #e8e8e8;
    border-left: none;
    height: 42px;
    text-align: center;
    a {
      display: block;
      line-height: 40px;
      font-size: 14px;
    }
    &.active {
      border-top: 3px solid $color-main;
      background-color: #fff;
      border-bottom: 1px solid #fff;
      color: $color-main;
    }
  }
}

.dux-tab-body {
  border: 1px solid #ddd;
  border-top: none;

  .dux-table {
    tr {
      &:last-child {
        border-bottom: none;
      }
    }
    th {
      font-size: 1.4rem;
    }
  }
}



.dux-pages {
  margin-top: 20px;
  text-align: center;
  a, span {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #ddd;
    margin: 0 2px;
  }
  .current {
    background: $color-main;
    border-color: $color-main;
    color: #fff;
  }

}
